import { WmsInventoryItem } from "./wms-model";
import { defHttp } from '/@/utils/http/axios';


enum Api {
  GetByWarehouse = '/wms/report/warehouse',
  GetByGoods = '/wms/report/goods',
}

export const getReportByWarehouse = (params:any) => defHttp.get<WmsInventoryItem[]>({ url: Api.GetByWarehouse, params: params });

export const getReportByGoods = (params:any) => defHttp.get<WmsInventoryItem[]>({ url: Api.GetByGoods, params: params });




